home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-PR / Interfaces&Libraries / Interfaces / RIncludes / SIOW.r < prev   
Encoding:
Text File  |  1998-11-30  |  29.5 KB  |  1,139 lines  |  [TEXT/MPS ]

  1. /*------------------------------------------------------------------------------
  2. #
  3. #    Apple Macintosh Developer Technical Support
  4. #
  5. #    MultiFinder-Aware Simple Input/Output Window
  6. #
  7. #    SIOW
  8. #
  9. #    Copyright:    © 1989-1998 by Apple Computer, Inc., all rights reserved.
  10. #
  11. ------------------------------------------------------------------------------*/
  12.  
  13.  
  14. #include "Types.r"
  15. #include "BalloonTypes.r"
  16.  
  17. #include "SIOW.h"
  18.  
  19. #ifndef CREATOR
  20.     #define CREATOR 'siow'
  21. #endif
  22.  
  23. #ifndef WINDOW_HEIGHT
  24.     #ifdef WINDOW_HEIGTH    /* old, misspelled name */
  25.         #define WINDOW_HEIGHT WINDOW_HEIGTH
  26.     #else
  27.         #define WINDOW_HEIGHT 286
  28.     #endif
  29. #endif
  30.  
  31. #ifndef WINDOW_WIDTH
  32.     #define WINDOW_WIDTH 480
  33. #endif
  34.  
  35. #define VERSION    "3.5d1"
  36.  
  37. resource 'vers' (1) {
  38.     0x3,
  39.     0x50,
  40.     development,
  41.     0x1,
  42.     verUS,
  43.     VERSION,
  44.     "Built with SIOW "VERSION", © 1998 Apple Computer, Inc."
  45. };
  46.  
  47. type 'FtSz'
  48. {
  49.     integer; /* font size or other preference value */
  50. };
  51.  
  52. type 'siow' as 'STR ';
  53.  
  54. resource 'siow' (0, purgeable) 
  55. {
  56.     "An SIOW application"
  57. };
  58.  
  59. /* we use an MBAR resource to conveniently load all the menus */
  60.  
  61. resource 'MBAR' (__rMenuBar, preload) 
  62. {
  63.     { __mApple, __mFile, __mEdit, __mFont, __mSize, __mControl };        /* five menus */
  64. };
  65.  
  66.  
  67. resource 'MENU' (__mApple, preload) 
  68. {
  69.     __mApple, textMenuProc,
  70.     0b1111111111111111111111111111101,    /* disable dashed line, enable About and DAs */
  71.     enabled, apple,
  72.     {
  73.         "About S I O W...",        /* use ... instead of … for compatibility with non-roman systems */
  74.             noicon, nokey, nomark, plain;
  75.         "-",
  76.             noicon, nokey, nomark, plain
  77.     }
  78. };
  79.  
  80. resource 'MENU' (__mFile, preload) 
  81. {
  82.     __mFile, textMenuProc,
  83.     0b000000000000000000000000000000,    /* enable Quit only, program enables others */
  84.     enabled, "File",
  85.     {
  86.         "New",                /* not used by SIOW */
  87.             noicon, "N", nomark, plain;
  88.         "Open",                /* not used by SIOW */
  89.             noicon, "O", nomark, plain;
  90.         "-",
  91.             noicon, nokey, nomark, plain;
  92.         "Close",
  93.             noicon, "W", nomark, plain;
  94.         "Save",
  95.             noicon, "S", nomark, plain;
  96.         "Save As...",        /* use ... instead of … for compatibility with non-roman systems */
  97.             noicon, nokey, nomark, plain;
  98.         "-",
  99.             noicon, nokey, nomark, plain;
  100.         "Page Setup...",    /* use ... instead of … for compatibility with non-roman systems */
  101.             noicon, nokey, nomark, plain;
  102.         "Print...",            /* use ... instead of … for compatibility with non-roman systems */
  103.             noicon, "P", nomark, plain;
  104.         "-",
  105.             noicon, nokey, nomark, plain;
  106.         "Quit",
  107.             noicon, "Q", nomark, plain
  108.     }
  109. };
  110.  
  111. resource 'MENU' (__mEdit, preload) {
  112.     __mEdit, textMenuProc,
  113.     0b0000000000000000000000000000000,    /* disable everything, program does the enabling */
  114.     enabled, "Edit",
  115.      {
  116.         "Undo",
  117.             noicon, "Z", nomark, plain;
  118.         "-",
  119.             noicon, nokey, nomark, plain;
  120.         "Cut",
  121.             noicon, "X", nomark, plain;
  122.         "Copy",
  123.             noicon, "C", nomark, plain;
  124.         "Paste",
  125.             noicon, "V", nomark, plain;
  126.         "Clear",
  127.             noicon, nokey, nomark, plain;
  128.         "-",
  129.             noicon, nokey, nomark, plain;
  130.         "Select All",
  131.             noicon, "A", nomark, plain
  132.     }
  133. };
  134.  
  135. resource 'MENU' (__mControl, preload) {
  136.     __mControl, textMenuProc,
  137.     0b1111111111111111111111111111111,    /* disable everything, program does the enabling */
  138.     enabled, "Control",
  139.      {
  140.         "Force End Of Input File",                    /* cmd-d == ctrl-d */
  141.             noicon, "D", nomark, plain;
  142.         "Pause",
  143.             noicon, "T", nomark, plain;        
  144.         "Stop",
  145.             noicon, ".", nomark, plain        /* cmd-period == ctrl-c */
  146.     }
  147. };
  148.  
  149. resource 'MENU' (__mFont, preload) {
  150.     __mFont, textMenuProc,
  151.     0b1111111111111111111111111111111,    /* enable everything */
  152.     enabled, "Font",
  153.      {
  154.      }
  155. };
  156.  
  157. resource 'MENU' (20004, "Size") {
  158.     __mSize, textMenuProc,
  159.     allEnabled,
  160.     enabled, "Size",
  161.     {
  162.         "9", 
  163.             noIcon, noKey, noMark, plain,
  164.  
  165.         "10", 
  166.             noIcon, noKey, noMark, plain,
  167.  
  168.         "12", 
  169.             noIcon, noKey, noMark, plain,
  170.  
  171.         "14", 
  172.             noIcon, noKey, noMark, plain,
  173.  
  174.         "18", 
  175.             noIcon, noKey, noMark, plain,
  176.  
  177.         "24", 
  178.             noIcon, noKey, noMark, plain,
  179.  
  180.         "36", 
  181.             noIcon, noKey, noMark, plain
  182.     }
  183. };
  184.  
  185. /* this ALRT and DITL are used as an About screen */
  186.  
  187. resource 'ALRT' (__rAboutAlert, purgeable) {
  188. // 12/13/93 - GAB: support for native PowerPC version
  189.  
  190.     {36, 58, 314, 396},
  191.  
  192.      __rAboutAlert, {
  193.         OK, visible, silent;
  194.         OK, visible, silent;
  195.         OK, visible, silent;
  196.         OK, visible, silent
  197.     }
  198. #if ALRT_RezTemplateVersion == 1
  199.     /*    The following are window positioning options ,usable in 7.0    */
  200.     , centerParentWindowScreen;
  201. #endif
  202. };
  203.  
  204. resource 'DITL' (__rAboutAlert, purgeable) {
  205.     {    /* array DITLarray: 10 elements */
  206.         /* [1] */
  207.         {233, 144, 253, 224},
  208.         Button {
  209.             enabled,
  210.             "OK"
  211.         },
  212.         /* [2] */
  213.         {8, 14, 24, 327},
  214.         StaticText {
  215.             disabled,
  216.             "Simple Input/Output Window (SIOW) v" VERSION
  217.         },
  218.         /* [3] */
  219.         {56, 14, 72, 327},
  220.         StaticText {
  221.             disabled,
  222.             $$Format("Copyright © Apple Computer, Inc. 1989-%d ", $$Year)
  223.         },
  224.         /* [4] */
  225.         {80, 108, 96, 244},
  226.         StaticText {
  227.             disabled,
  228.             "Updated by"
  229.         },
  230.         /* [5] */
  231.         {109, 132, 125, 229},
  232.         StaticText {
  233.             disabled,
  234.             "Herb Ruth"
  235.         },
  236.         /* [6] */
  237.         {152, 24, 170, 212},
  238.         StaticText {
  239.             disabled,
  240.             "Special Thanks to..."
  241.         },
  242.         /* [7] */
  243.         {176, 56, 194, 289},
  244.         StaticText {
  245.             disabled,
  246.             "Roger, Russ, Landon, Ira, ",
  247.         },
  248.         /* [8] */
  249.         {204, 56, 222, 289},
  250.         StaticText {
  251.             disabled,
  252.             "Munch, Greg, and Scott."
  253.         },
  254.     }
  255. };
  256.  
  257. /* this ALRT and DITL are used as an error screen */
  258.  
  259. resource 'ALRT' (__rUserAlert, purgeable) {
  260.     {40, 20, 211, 356},
  261.     __rUserAlert,
  262.     { /* array: 4 elements */
  263.         /* [1] */
  264.         OK, visible, silent,
  265.         /* [2] */
  266.         OK, visible, silent,
  267.         /* [3] */
  268.         OK, visible, silent,
  269.         /* [4] */
  270.         OK, visible, silent
  271.     }
  272. #if ALRT_RezTemplateVersion == 1
  273.     , alertPositionParentWindowScreen
  274. #endif
  275. };
  276.  
  277.  
  278. resource 'DITL' (__rUserAlert, purgeable) {
  279.     { /* array DITLarray: 3 elements */
  280.         /* [1] */
  281.         {138, 240, 158, 320},
  282.         Button {
  283.             enabled,
  284.             "OK"
  285.         },
  286.         /* [2] */
  287.         {10, 60, 129, 319},
  288.         StaticText {
  289.             disabled,
  290.             "^0^1^2^3"
  291.         },
  292.     }
  293. };
  294.  
  295.  
  296. resource 'WIND' (__rDocWindow, preload, purgeable) {
  297.     {0, 0, WINDOW_HEIGHT, WINDOW_WIDTH},
  298.     zoomDocProc, invisible, noGoAway, 0x0, DEFAULT_WINDOW_NAME
  299.     /*    The following are window positioning options ,usable in 7.0    */
  300. #if WIND_RezTemplateVersion == 1
  301.     , centerMainScreen
  302. #endif
  303. };
  304.  
  305. resource 'CNTL' (__rVScroll, preload, purgeable) {
  306.     {-1, WINDOW_WIDTH-15, WINDOW_HEIGHT-14, WINDOW_WIDTH+1},
  307.     0, invisible, 0, 0, scrollBarProc, 0, ""
  308. };
  309.  
  310. resource 'CNTL' (__rHScroll, preload, purgeable) {
  311.     {WINDOW_HEIGHT-15, -1, WINDOW_HEIGHT+1, WINDOW_WIDTH-14},
  312.     0, invisible, 0, 0, scrollBarProc, 0, ""
  313. };
  314.  
  315. resource 'STR ' (__rFontPrefStr, preload, purgeable )
  316. {
  317.     DEFAULT_FONT_NAME
  318. };
  319.  
  320. resource 'STR ' (__rPauseMenuText, preload, purgeable )
  321. {
  322.     "Pause"
  323. };
  324.  
  325. resource 'STR ' (__rResumeMenuText, preload, purgeable )
  326. {
  327.     "Resume"
  328. };
  329.  
  330. resource 'STR ' (__rOutfilePrefStr, preload, purgeable )
  331. {
  332.     DEFAULT_OUTFILE_NAME
  333. };
  334.  
  335. resource 'FtSz' (__rFontPrefStr, preload, purgeable )
  336. {
  337.     DEFAULT_FONT_SIZE
  338. };
  339.  
  340. resource 'FtSz' (__rSavePref, preload, purgeable )
  341. {
  342.     DEFAULT_SAVE_PREF
  343. };
  344.  
  345. resource 'FtSz' (__rStopPref, preload, purgeable )
  346. {
  347.     DEFAULT_STOP_PREF
  348. };
  349.  
  350. resource 'FtSz' (__rWindowWidthPref, preload, purgeable )
  351. {
  352.     DEFAULT_WINDOW_SIZE
  353. };
  354.  
  355. resource 'STR#' (__kErrStrings, purgeable) {
  356.     {
  357.     /* __eWrongMachine */             "You must run on 512Ke or later";
  358.     /* __eSmallSize */                "Application Memory Size is too small";
  359.     /* __eNoMemory */                 "Not enough memory to run SIOW";
  360.     /* __eNoSpaceCut */                "Not enough memory to do Cut";
  361.     /* __eNoCut */                    "Cannot do Cut";
  362.     /* __eNoCopy */                    "Cannot do Copy";
  363.     /* __eExceedPaste */            "Cannot exceed 32,000 characters with Paste";
  364.     /* __eNoSpacePaste */            "Not enough memory to do Paste";
  365.     /* __eNoWindow */                 "Cannot create window";
  366.     /* __eExceedChar */                "Cannot exceed 32,000 characters";
  367.     /* __eNoPaste */                "Cannot do Paste";
  368.     /* __eNofont */                    "Font not found";
  369.     /* __eNoInputMoreThanReq */        "Your input was longer than this program was requesting; it will be truncated.";
  370.     /* __eDontNeedToSaveAgain */    "You do not need to save again. All input and output since your last save has been written to the file you specified."
  371.     }
  372. };
  373.  
  374. /* here is the quintessential MultiFinder friendliness device, the SIZE resource */
  375.  
  376. resource 'SIZE' (-1) {
  377.     dontSaveScreen,
  378.     acceptSuspendResumeEvents,
  379.     enableOptionSwitch,
  380.     canBackground,                /* we can background. Our sleep value */
  381.                                 /* guarantees we don't hog the Mac. */
  382.     multiFinderAware,            /* this says we do our own activate/deactivate; don't fake us out. */
  383.     backgroundAndForeground,    /* this is definitely not a background-only application! */
  384.     dontGetFrontClicks,            /* change this is if you want "do first click" behavior like the Finder. */
  385.     ignoreChildDiedEvents,        /* essentially, I'm not a debugger (sub-launching). */
  386.     is32BitCompatible,            /* this app should be run in 32-bit address space. */
  387.     isHighLevelEventAware,        /* accepts the core apple-events. */
  388.     localAndRemoteHLEvents,        /* change to 'reserved' if you don't like remote-control. */
  389.     notStationeryAware,            /* not stationery-aware. */
  390.     dontUseTextEditServices,    /* can't handle inline input of chinese, etc. */
  391.     reserved,
  392.     reserved,
  393.     reserved,
  394.     __kPrefSize * 1024,
  395.     __kMinSize * 1024    
  396. };
  397.  
  398. /* If you want to restrict your SIOW application to only opening             */
  399. /* TEXT files, replace the FREFs for '****' (any file), 'disk' (disk icon)     */
  400. /* and 'fold' (any folder) into a single FREF for 'TEXT'. Alter the BNDL     */
  401. /* resource and the 'open' resource to match.                                */
  402.  
  403. resource 'BNDL' (128) {
  404.     CREATOR,    0,
  405.     {
  406.         'FREF',
  407.         {
  408.             0, 128,        /* APPL */
  409.             1, 129,        /* **** */
  410.             2, 130,        /* disk */
  411.             3, 131        /* fold */
  412.         },
  413.         'ICN#',
  414.         {
  415.             0, 128,        /* APPL */
  416.             1, 129,        /* **** */
  417.             2, 130,        /* disk */
  418.             3, 131        /* fold */
  419.         },
  420.     }
  421. };
  422.  
  423. resource 'FREF' (128) {
  424.     'APPL',    0,    ""
  425. };
  426.  
  427. resource 'FREF' (129) {
  428.     '****',    0,    ""
  429. };
  430.  
  431. resource 'FREF' (130) {
  432.     'disk',    0,    ""
  433. };
  434.  
  435. resource 'FREF' (131) {
  436.     'fold',    0,    ""
  437. };
  438.  
  439. resource 'open' (128) {   /* for the Translation Manager aka Easy Open */
  440.     CREATOR,
  441.     {    
  442.         '****', 
  443.         'disk',     
  444.         'fold'    
  445.     }
  446. };
  447.  
  448. resource 'ALRT' (__rSaveAlert, preload) {
  449.     {72, 64, 168, 407},
  450.     __rSaveAlert,
  451.     {    /* array: 4 elements */
  452.         /* [1] */
  453.         OK, visible, silent,
  454.         /* [2] */
  455.         OK, visible, silent,
  456.         /* [3] */
  457.         OK, visible, silent,
  458.         /* [4] */
  459.         OK, visible, silent
  460.     }
  461.     /*    The following are window positioning options ,usable in 7.0    */
  462. #if ALRT_RezTemplateVersion == 1
  463.     , alertPositionParentWindowScreen
  464. #endif
  465.     ;
  466. };
  467.  
  468. resource 'DITL' (__rSaveAlert, preload) {
  469.     {    /* array DITLarray: 3 elements */
  470.         /* [1] */
  471.         {60, 253, 80, 327},
  472.         Button {
  473.             enabled,
  474.             "Save"
  475.         },
  476.         /* [2] */
  477.         {60, 157, 80, 231},
  478.         Button {
  479.             enabled,
  480.             "Quit"
  481.         },
  482.         /* [3] */
  483.         {10, 112, 42, 325},
  484.         StaticText {
  485.             disabled,
  486.             "Save changes before quitting?"
  487.         },
  488.     }
  489. };
  490.  
  491.  
  492. // PPCLINK creates appropriate 'cfrg' resource. Don't do it yourself.
  493. //#ifdef APPNAME    // only include 'cfrg' in native PowerPC apps
  494. //#include "CodeFragmentTypes.r"
  495. //resource 'cfrg' (0) {
  496. //    {
  497. //        kPowerPC,
  498. //        kFullLib,
  499. //        kNoVersionNum,kNoVersionNum,
  500. //        0,0,
  501. //        kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  502. //        APPNAME    // must be defined on Rez command line with -d option
  503. //    }
  504. //};
  505. //#endif
  506.  
  507. resource 'ALRT' (__rQuitAlert, preload) {
  508.     {74, 68, 176, 399},
  509.     __rQuitAlert,
  510.     {    /* array: 4 elements */
  511.         /* [1] */
  512.         OK, visible, silent,
  513.         /* [2] */
  514.         OK, visible, silent,
  515.         /* [3] */
  516.         OK, visible, silent,
  517.         /* [4] */
  518.         OK, visible, silent
  519.     }
  520.     /*    The following are window positioning options ,usable in 7.0    */
  521. #if ALRT_RezTemplateVersion == 1
  522.     , alertPositionParentWindowScreen
  523. #endif
  524.     ;
  525. };
  526.  
  527. resource 'DITL' (__rQuitAlert, preload) {
  528.     {    /* array DITLarray: 3 elements */
  529.         /* [1] */
  530.         {70, 240, 90, 316},
  531.         Button {
  532.             enabled,
  533.             "Stop"
  534.         },
  535.         /* [2] */
  536.         {70, 151, 90, 225},
  537.         Button {
  538.             enabled,
  539.             "Continue"
  540.         },
  541.         /* [3] */
  542.         {10, 111, 58, 313},
  543.         StaticText {
  544.             disabled,
  545.             "Stop running this application?"
  546.         },
  547.     }
  548. };
  549.  
  550. data 'ICN#' (128) {
  551.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  552.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  553.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  554.     $"1000 0100 1FFF FF00 1000 0100 1000 0100"
  555.     $"13FF 8100 1000 0100 11FF 8100 1000 3F80"
  556.     $"107F C0C0 1000 8040 11FF 3020 1001 C810"
  557.     $"10FE 7F8F 1002 3007 1001 0007 1000 8007"
  558.     $"1FFF E007 0000 1FE7 0000 001F 0000 0007"
  559.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  560.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  561.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  562.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF00"
  563.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF80"
  564.     $"1FFF FFC0 1FFF FFC0 1FFF FFE0 1FFF FFF0"
  565.     $"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
  566.     $"1FFF FFFF 0000 1FFF 0000 001F 0000 0007"
  567. };
  568. data 'ICN#' (129) {
  569.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  570.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  571.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  572.     $"1000 0100 1FFF FF00 1000 0100 1000 0100"
  573.     $"13FF 8100 1000 0100 11FF 8100 1000 3F80"
  574.     $"107F C0C0 1000 8040 11FF 3020 1001 C810"
  575.     $"10FE 7F8F 1002 3007 1001 0007 1000 8007"
  576.     $"1FFF E007 0000 1FE7 0000 001F 0000 0007"
  577.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  578.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  579.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  580.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF00"
  581.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF80"
  582.     $"1FFF FFC0 1FFF FFC0 1FFF FFE0 1FFF FFF0"
  583.     $"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
  584.     $"1FFF FFFF 0000 1FFF 0000 001F 0000 0007"
  585. };
  586. data 'ICN#' (130) {
  587.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  588.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  589.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  590.     $"1000 0100 1FFF FF00 1000 0100 1000 0100"
  591.     $"13FF 8100 1000 0100 11FF 8100 1000 3F80"
  592.     $"107F C0C0 1000 8040 11FF 3020 1001 C810"
  593.     $"10FE 7F8F 1002 3007 1001 0007 1000 8007"
  594.     $"1FFF E007 0000 1FE7 0000 001F 0000 0007"
  595.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  596.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  597.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  598.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF00"
  599.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF80"
  600.     $"1FFF FFC0 1FFF FFC0 1FFF FFE0 1FFF FFF0"
  601.     $"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
  602.     $"1FFF FFFF 0000 1FFF 0000 001F 0000 0007"
  603. };
  604. data 'ICN#' (131) {
  605.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  606.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  607.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  608.     $"1000 0100 1FFF FF00 1000 0100 1000 0100"
  609.     $"13FF 8100 1000 0100 11FF 8100 1000 3F80"
  610.     $"107F C0C0 1000 8040 11FF 3020 1001 C810"
  611.     $"10FE 7F8F 1002 3007 1001 0007 1000 8007"
  612.     $"1FFF E007 0000 1FE7 0000 001F 0000 0007"
  613.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  614.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  615.     $"0000 0000 0000 0000 0000 0000 1FFF FF00"
  616.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF00"
  617.     $"1FFF FF00 1FFF FF00 1FFF FF00 1FFF FF80"
  618.     $"1FFF FFC0 1FFF FFC0 1FFF FFE0 1FFF FFF0"
  619.     $"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
  620.     $"1FFF FFFF 0000 1FFF 0000 001F 0000 0007"
  621. };
  622. data 'icl8' (128) {
  623.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  624.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  625.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  626.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  627.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  628.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  629.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  630.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  631.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  632.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  633.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  634.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  635.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  636.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  637.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  638.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  639.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  640.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  641.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  642.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  643.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  644.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  645.     $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
  646.     $"FFFF FFFF FFFF FFFF 0000 0000 0000 0000"
  647.     $"0000 00FF 2B2B 2B2B 2B2B 2B2B 2B2B 2B2B"
  648.     $"2B2B 2B2B 2B2B 2BFF 0000 0000 0000 0000"
  649.     $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
  650.     $"FFFF FFFF FFFF FFFF 0000 0000 0000 0000"
  651.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
  652.     $"F5F5 F5F5 F5F5 F5FF 0000 0000 0000 0000"
  653.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
  654.     $"F5F5 F5F5 F5F5 F5FF 0000 0000 0000 0000"
  655.     $"0000 00FF F5F5 FFFF FFFF FFFF FFFF FFFF"
  656.     $"FFF5 F5F5 F5F5 F5FF 0000 0000 0000 0000"
  657.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
  658.     $"F5F5 F5F5 F5F5 F5FF 0000 0000 0000 0000"
  659.     $"0000 00FF F5F5 F5FF FFFF FFFF FFFF FFFF"
  660.     $"FFF5 F5F5 F5F5 F5FF 0000 0000 0000 0000"
  661.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
  662.     $"F5F5 FFFF FFFF FFFF F500 0000 0000 0000"
  663.     $"0000 00FF F5F5 F5F5 F5FF FFFF FFFF FFFF"
  664.     $"FFFF 0808 0808 0808 FF00 0000 0000 0000"
  665.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
  666.     $"FF08 0808 0808 0808 08FF 0000 0000 0000"
  667.     $"0000 00FF F5F5 F5FF FFFF FFFF FFFF FFFF"
  668.     $"0808 FFFF 0808 0808 0808 FF00 0000 0000"
  669.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5FF"
  670.     $"FFFF 0000 FF08 0808 0808 08FF 0000 0000"
  671.     $"0000 00FF F5F5 F5F5 FFFF FFFF FFFF FF08"
  672.     $"08FF FFFF FFFF FFFF FF08 0808 FFFF FFFF"
  673.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 FF08"
  674.     $"0808 FFFF 0808 0808 0808 0808 08FF FFFF"
  675.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5FF"
  676.     $"0808 0808 0808 0808 0808 0808 08FF FFFF"
  677.     $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
  678.     $"FF08 0808 0808 0808 0808 0808 08FF FFFF"
  679.     $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
  680.     $"FFFF FF08 0808 0808 0808 0808 08FF FFFF"
  681.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  682.     $"0000 00FF FFFF FFFF FFFF FF08 08FF FFFF"
  683.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  684.     $"0000 0000 0000 0000 0000 00FF FFFF FFFF"
  685.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  686.     $"0000 0000 0000 0000 0000 0000 00FF FFFF"
  687. };
  688.  
  689. data 'icl4' (128) {
  690.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  691.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  692.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  693.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  694.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  695.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  696.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  697.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  698.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  699.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  700.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  701.     $"000F FFFF FFFF FFFF FFFF FFFF 0000 0000"
  702.     $"000F CCCC CCCC CCCC CCCC CCCF 0000 0000"
  703.     $"000F FFFF FFFF FFFF FFFF FFFF 0000 0000"
  704.     $"000F C0C0 C0C0 C0C0 C0C0 C0CF 0000 0000"
  705.     $"000F 0C0C 0C0C 0C0C 0C0C 0C0F 0000 0000"
  706.     $"000F C0FF FFFF FFFF F0C0 C0CF 0000 0000"
  707.     $"000F 0C0C 0C0C 0C0C 0C0C 0C0F 0000 0000"
  708.     $"000F C0CF FFFF FFFF F0C0 C0CF 0000 0000"
  709.     $"000F 0C0C 0C0C 0C0C 0CFF FFFF 0000 0000"
  710.     $"000F C0CC CFFF FFFF FFF0 2020 F000 0000"
  711.     $"000F 0C0C 0C0C 0C0C FF02 0202 0F00 0000"
  712.     $"000F C0CF FFFF FFFF F0FF F020 20F0 0000"
  713.     $"000F 0C0C 0C0C 0C0F FF00 FF02 020F 0000"
  714.     $"000F C0C0 FFFF FFF0 2FFF FFFF F020 FFFF"
  715.     $"000F 0C0C 0C0C 0CFF 02FF 0202 0202 0FFF"
  716.     $"000F C0C0 C0C0 C0CF F020 2020 2020 2FFF"
  717.     $"000F 0C0C 0C0C 0C0C FF02 0202 0202 0FFF"
  718.     $"000F FFFF FFFF FFFF FFF0 2020 2020 2FFF"
  719.     $"0000 0000 0000 0000 000F FFFF FFFF 0FFF"
  720.     $"0000 0000 0000 0000 0000 0000 000F FFFF"
  721.     $"0000 0000 0000 0000 0000 0000 0000 0FFF"
  722. };
  723.  
  724. data 'ics#' (128) {
  725.     $"0000 0000 0000 0000 0000 3FFC 2004 3FFC"
  726.     $"2004 2E74 208C 2BE4 20B3 2043 3FFF 0007"
  727.     $"0000 0000 0000 0000 0000 3FFC 3FFC 3FFC"
  728.     $"3FFC 3FFC 3FFC 3FFC 3FFF 3FFF 3FFF 0007"
  729. };
  730.  
  731. data 'ics8' (128) {
  732.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  733.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  734.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  735.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  736.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  737.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
  738.     $"0000 FF00 0000 0000 0000 0000 00FF 0000"
  739.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
  740.     $"0000 FF00 0000 0000 0000 0000 00FF 0000"
  741.     $"0000 FF00 FFFF FF00 00FF FFFF 00FF 0000"
  742.     $"0000 FF00 0000 0000 FF00 0000 FFFF 0000"
  743.     $"0000 FF00 FF00 FFFF FFFF FF00 00FF 0000"
  744.     $"0000 FF00 0000 0000 FF00 FFFF 0000 FFFF"
  745.     $"0000 FF00 0000 0000 00FF 0000 0000 FFFF"
  746.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
  747.     $"0000 0000 0000 0000 0000 0000 00FF FFFF"
  748. };
  749.  
  750. data 'ics4' (128) {
  751.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  752.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  753.     $"0000 0000 0000 0000 00FF FFFF FFFF FF00"
  754.     $"00F0 0000 0000 0F00 00FF FFFF FFFF FF00"
  755.     $"00F0 0000 0000 0F00 00F0 FFF0 0FFF 0F00"
  756.     $"00F0 0000 F000 FF00 00F0 F0FF FFF0 0F00"
  757.     $"00F0 0000 F0FF 00FF 00F0 0000 0F00 00FF"
  758.     $"00FF FFFF FFFF FFFF 0000 0000 0000 0FFF"
  759. };
  760.  
  761. resource 'STR#' ( __kBalloonStringsResID, purgeable )
  762. {
  763.     {
  764.         /* [1] File Menu, Normal */
  765.             "File menu\n"
  766.             "\n"
  767.             "Use this menu to save or print the SIOW window contents, and to quit this application.",
  768.         
  769.         /* [2] File/New, Grayed */
  770.             "Creates a new document.\n"
  771.             "\n"
  772.             "Not available now because SIOW does not allow creating new documents.",
  773.  
  774.         /* [3] File/Open, Grayed */
  775.             "Opens a document.\n"
  776.             "\n"
  777.             "Not available now because SIOW does not allow opening documents.",
  778.  
  779.         /* [4] File/Close, normal */
  780.             "Closes the SIOW window.",
  781.  
  782.         /* [5] File/Save, normal */
  783.             "Saves the contents of the SIOW window.",
  784.  
  785.         /* [6] File/Save, Grayed */
  786.             "Saves the contents of the SIOW window.\n"
  787.             "\n"
  788.             "Not available now because no changes have been "
  789.             "made to the SIOW window contents.",
  790.  
  791.         /* [7] File/Save As, normal */
  792.             "Displays a dialog box in which you can assign a "
  793.             "file name and specify a location to save the "
  794.             "contents of the SIOW window.",
  795.  
  796.         /* [8] File/Page Setup, normal */
  797.             "Displays a dialog box in which you can select "
  798.             "paper size, orientation, and other printing options.",
  799.  
  800.         /* [9] File/Print, normal */
  801.             "Displays a dialog box in which you can select "
  802.             "the number of copies to print and other printing options.",
  803.  
  804.         /* [10] File/Quit, normal */
  805.             "Quits this application. If you have not saved the "
  806.             "contents of the SIOW window, you will be asked whether "
  807.             "you want to save the contents",
  808.  
  809.         /* [11] Edit Menu, Normal */
  810.             "Edit menu\n"
  811.             "\n"
  812.             "Use this menu to undo your last action, or to manipulate text.",
  813.  
  814.         /* [12] Edit/Undo, normal */
  815.             "Undoes your last action if it involves cut/copy/paste.",
  816.  
  817.         /* [13] Edit/Undo, Grayed */
  818.             "Undoes your last action if it involves cut/copy/paste.\n"
  819.             "\n"
  820.             "Not available now because your last action cannot be undone.",
  821.  
  822.         /* [14] Edit/Cut, normal */
  823.             "Removes the selected text and places it in the temporary "
  824.             "storage area called the Clipboard.",
  825.  
  826.         /* [15] Edit/Cut, Grayed */
  827.             "Removes the selected text and places it in the temporary "
  828.             "storage area called the Clipboard.\n"
  829.             "\n"
  830.             "Not available now because no text is selected.",
  831.  
  832.         /* [16] Edit/Copy, normal */
  833.             "Copies the selected text and places it in the temporary "
  834.             "storage area called the Clipboard. The original text stays "
  835.             "where it is.",
  836.  
  837.         /* [17] Edit/Copy, Grayed */
  838.             "Copies the selected text and places it in the temporary "
  839.             "storage area called the Clipboard. The original text stays "
  840.             "where it is.\n"
  841.             "\n"
  842.             "Not available now because no text is selected.",
  843.  
  844.         /* [18] Edit/Paste, normal */
  845.             "Copies the contents of the Clipboard into the current "
  846.             "text-insertion point.",
  847.  
  848.         /* [19] Edit/Paste, Grayed */
  849.             "Copies the contents of the Clipboard into the current "
  850.             "text-insertion point.\n"
  851.             "\n"
  852.             "Not available now because no text is in the Clipboard.",
  853.  
  854.         /* [20] Edit/Clear, normal */
  855.             "Removes the selected text; it does not go into the Clipboard.",
  856.  
  857.         /* [21] Edit/Clear, Grayed */
  858.             "Removes the selected text; it does not go into the Clipboard.\n"
  859.             "\n"
  860.             "Not available now because no text is selected.",
  861.  
  862.         /* [22] Font Menu, Normal */
  863.             "Font menu\n"
  864.             "\n"
  865.             "Use this menu to change the font used for text in the SIOW window.",
  866.  
  867.         /* [23] Size Menu, Normal */
  868.             "Size menu\n"
  869.             "\n"
  870.             "Use this menu to change the font size used for text in the SIOW window.",
  871.  
  872.         /* [24] Control Menu, Normal */
  873.             "Control menu\n"
  874.             "\n"
  875.             "Use this menu to pause or stop this application, or to "
  876.             "send it an end-of-input indication.",
  877.  
  878.         /* [25] Control/Input EndOfFile, Normal */
  879.             "Use this to indicate end-of-input, also known as end-of-file, or EOF. "
  880.             "This is equivalent to control-d in some Unix-like environments, or "
  881.             "control-z in some other command-line environments.",
  882.  
  883.         /* [26] Control/Pause, Normal */
  884.             "Select this to suspend output from this application. Select this "
  885.             "a second time to continue execution of this application.",
  886.  
  887.         /* [27] Control/Resume, Normal */
  888.             "This has been used to suspend output from this application. "
  889.             "Select this to continue execution of this application.",
  890.  
  891.         /* [28] Control/Pause, Grayed */
  892.             "Use this to suspend output from this application.\n"
  893.             "\n"
  894.             "Not available now because the application has finished or "
  895.             "is waiting for your input.",
  896.  
  897.         /* [29] Control/Stop, Normal */
  898.             "Use this to halt this application. You can not continue after "
  899.             "you have stopped execution.",
  900.  
  901.         /* [30] Control/Stop, Grayed */
  902.             "Use this to halt this application.\n"
  903.             "\n"
  904.             "Not available now because the application has finished normally or "
  905.             "you have stopped it.",
  906.     }
  907. };
  908.  
  909. resource 'hmnu' (__mFile, purgeable) 
  910. {
  911.     HelpMgrVersion,
  912.     hmDefaultOptions,
  913.     0,
  914.     0,
  915.  
  916.     HMSTRResItem { 0,0,0,0 },    /* item -1:Default balloon */
  917.     {
  918.  
  919.         HMStringResItem {        /* item 0:File Menu Title */
  920.             __kBalloonStringsResID,1,     /* normal */
  921.             0,0,                        /* disabled */
  922.             0,0,
  923.             0,0
  924.         },
  925.         HMStringResItem {        /* item 1:File/New */
  926.             0,0,                        /* normal */
  927.             __kBalloonStringsResID,2,    /* disabled */
  928.             0,0,                        /* checked */
  929.             0,0
  930.         },
  931.         HMStringResItem {        /* item 2:File/Open */
  932.             0,0,                        /* normal */
  933.             __kBalloonStringsResID,3,    /* disabled */
  934.             0,0,                        /* checked */
  935.             0,0
  936.         },
  937.         HMSkipItem { },            /* item 3:File/----- */
  938.         HMStringResItem {        /* item 4:File/Close */
  939.             __kBalloonStringsResID,4,    /* normal */
  940.             0,0,                        /* disabled */
  941.             0,0,                        /* checked */
  942.             0,0
  943.         },
  944.         HMStringResItem {        /* item 5:File/Save */
  945.             __kBalloonStringsResID,5,    /* normal */
  946.             __kBalloonStringsResID,6,    /* disabled */
  947.             0,0,                        /* checked */
  948.             0,0
  949.         },
  950.         HMStringResItem {        /* item 6:File/Save As */
  951.             __kBalloonStringsResID,7,    /* normal */
  952.             0,0,                        /* disabled */
  953.             0,0,                        /* checked */
  954.             0,0
  955.         },
  956.         HMSkipItem { },            /* item 7:File/----- */
  957.         HMStringResItem {        /* item 8:File/Page Setup */
  958.             __kBalloonStringsResID,8,    /* normal */
  959.             0,0,                        /* disabled */
  960.             0,0,                        /* checked */
  961.             0,0
  962.         },
  963.         HMStringResItem {        /* item 9:File/Print */
  964.             __kBalloonStringsResID,9,    /* normal */
  965.             0,0,                        /* disabled */
  966.             0,0,                        /* checked */
  967.             0,0
  968.         },
  969.         HMSkipItem { },            /* item 7:File/----- */
  970.         HMStringResItem {        /* item 9:File/Quit */
  971.             __kBalloonStringsResID,10,    /* normal */
  972.             0,0,                        /* disabled */
  973.             0,0,                        /* checked */
  974.             0,0
  975.         }
  976.     }
  977. };
  978.  
  979. resource 'hmnu' (__mEdit, purgeable) 
  980. {
  981.     HelpMgrVersion,
  982.     hmDefaultOptions,
  983.     0,
  984.     0,
  985.  
  986.     HMSTRResItem { 0,0,0,0 },    /* item -1:Default balloon */
  987.     {
  988.  
  989.         HMStringResItem {        /* item 0:Edit Menu Title */
  990.             __kBalloonStringsResID,11,     /* normal */
  991.             0,0,                        /* disabled */
  992.             0,0,
  993.             0,0
  994.         },
  995.         HMStringResItem {        /* item 1:Edit/Undo */
  996.             __kBalloonStringsResID,12,    /* normal */
  997.             __kBalloonStringsResID,13,    /* disabled */
  998.             0,0,                        /* checked */
  999.             0,0
  1000.         },
  1001.         HMSkipItem { },            /* item 2:Edit/----- */
  1002.         HMStringResItem {        /* item 3:Edit/Cut */
  1003.             __kBalloonStringsResID,14,    /* normal */
  1004.             __kBalloonStringsResID,15,    /* disabled */
  1005.             0,0,                        /* checked */
  1006.             0,0
  1007.         },
  1008.         HMStringResItem {        /* item 4:Edit/Copy */
  1009.             __kBalloonStringsResID,16,    /* normal */
  1010.             __kBalloonStringsResID,17,    /* disabled */
  1011.             0,0,                        /* checked */
  1012.             0,0
  1013.         },
  1014.         HMStringResItem {        /* item 5:Edit/Paste */
  1015.             __kBalloonStringsResID,18,    /* normal */
  1016.             __kBalloonStringsResID,19,    /* disabled */
  1017.             0,0,                        /* checked */
  1018.             0,0
  1019.         },
  1020.         HMStringResItem {        /* item 6:Edit/Clear */
  1021.             __kBalloonStringsResID,20,    /* normal */
  1022.             __kBalloonStringsResID,21,    /* disabled */
  1023.             0,0,                        /* checked */
  1024.             0,0
  1025.         }
  1026.     }
  1027. };
  1028.  
  1029. resource 'hmnu' (__mControl, purgeable) 
  1030. {
  1031.     HelpMgrVersion,
  1032.     hmDefaultOptions,
  1033.     0,
  1034.     0,
  1035.  
  1036.     HMSTRResItem { 0,0,0,0 },    /* item -1:Default balloon */
  1037.     {
  1038.  
  1039.         HMStringResItem {        /* item 0:Control Menu Title */
  1040.             __kBalloonStringsResID,24,     /* normal */
  1041.             0,0,                        /* disabled */
  1042.             0,0,
  1043.             0,0
  1044.         },
  1045.         HMStringResItem {        /* item 1:Control/EOF */
  1046.             __kBalloonStringsResID,25,    /* normal */
  1047.             __kBalloonStringsResID,26,    /* disabled */
  1048.             0,0,                        /* checked */
  1049.             0,0
  1050.         },
  1051.         HMCompareItem {            /* item 2:Control/Pause or Resume */
  1052.             "Pause",
  1053.             HMStringResItem {
  1054.                 __kBalloonStringsResID,26,    /* normal - pause */
  1055.                 __kBalloonStringsResID,28,    /* disabled */
  1056.                 0,0,                        /* checked */
  1057.                 0,0
  1058.             },
  1059.         },
  1060.         HMCompareItem {            /* item 2:Control/Pause or Resume */
  1061.             "Resume",
  1062.             HMStringResItem {
  1063.                 __kBalloonStringsResID,27,    /* normal - resume */
  1064.                 0,0,                        /* disabled */
  1065.                 0,0,                        /* checked */
  1066.                 0,0
  1067.             },
  1068.         },
  1069.         HMStringResItem {        /* item 3:Control/Stop */
  1070.             __kBalloonStringsResID,29,    /* normal */
  1071.             __kBalloonStringsResID,30,    /* disabled */
  1072.             0,0,                        /* checked */
  1073.             0,0
  1074.         },
  1075.     }
  1076. };
  1077.  
  1078. resource 'hmnu' (__mFont, purgeable) 
  1079. {
  1080.     HelpMgrVersion,
  1081.     hmDefaultOptions,
  1082.     0,
  1083.     0,
  1084.  
  1085.     HMSTRResItem { 0,0,0,0 },    /* item -1:Default balloon */
  1086.     {
  1087.  
  1088.         HMStringResItem {        /* item 0:Font Menu Title */
  1089.             __kBalloonStringsResID,22,     /* normal */
  1090.             0,0,                        /* disabled */
  1091.             0,0,
  1092.             0,0
  1093.         }
  1094.     }
  1095. };
  1096.  
  1097. resource 'hmnu' (__mSize, purgeable) 
  1098. {
  1099.     HelpMgrVersion,
  1100.     hmDefaultOptions,
  1101.     0,
  1102.     0,
  1103.  
  1104.     HMSTRResItem { 0,0,0,0 },    /* item -1:Default balloon */
  1105.     {
  1106.  
  1107.         HMStringResItem {        /* item 0:Size Menu Title */
  1108.             __kBalloonStringsResID,23,     /* normal */
  1109.             0,0,                        /* disabled */
  1110.             0,0,
  1111.             0,0
  1112.         }
  1113.     }
  1114. };
  1115.  
  1116. resource 'hfdr' ( -5696, purgeable )
  1117. {
  1118.     HelpMgrVersion,
  1119.     hmDefaultOptions,
  1120.     0,                    // Default balloon definition function
  1121.     0,                    // Default variation code
  1122.     {
  1123.         HMSTRResItem
  1124.         {
  1125.             __rFinderHelpString    // Resource ID of help string ('STR ') to display
  1126.         }
  1127.     }
  1128. };
  1129.  
  1130. // This string resource contains the help text that will be displayed in the Finder if you
  1131. // move the mouse over the application icon when help is enabled.
  1132.  
  1133. resource 'STR ' (__rFinderHelpString, purgeable)
  1134. {
  1135.     "This application was created with the SIOW library from Apple Computer, Inc. "
  1136.     "You may be able to drop file, folder, or disk icons onto this application to execute it with those "
  1137.     "items as input."
  1138. };
  1139.